package com.liu.seckill.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liu.seckill.pojo.Order;
import com.liu.seckill.pojo.User;
import com.liu.seckill.vo.GoodsVo;
import com.liu.seckill.vo.OrderDetailVo;

/**
 * @ClassName IOrderService
 * @Author ：name
 * @Date ：2022-02-16 14:35
 * @Description：
 * @Version: 1.0
 */
public interface IOrderService  extends IService<Order> {

     /* 秒杀
  * @param user
  * @param goods
  * @return
          */
     Order seckill(User user, GoodsVo goods);

    OrderDetailVo detail(Long orderId);
}
